package com.kclmedu.sst.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

    @RequestMapping(value = "toLogin")
    public String toLogin() {
        //
        return "login";
    }

    /*********
     * 针对 403错误要去到的页面
     * @return
     */
    @RequestMapping(value = "error_403")
    public String error_403() {
        System.out.println("--- 出现403了，跳转到指定的页面");
        return "error/403";
    }
}
